<?php
/**
 * 环境配置
 */

if (!defined('DS')) {
    define('DS', DIRECTORY_SEPARATOR);
}

define ('IN_DEV', 1);	//开发测试环境
define ('ENV', 'development');	//开发测试环境

//域名
define ('ROOT_HOST', 'chinadressshop.cn');
define ('IMG_HOST', 'img.chinadressshop.cn');
define ('WWW_HOST', 'img.chinadressshop.cn');
define ('LOGO_HOST', 'clientapi.chinadressshop.cn');
define ('CSSJS_HOST', 'clientapi.chinadressshop.cn');
define ('PIC_HOST', 'clientapi.chinadressshop.cn');
define ('ADMIN_HOST', 'sa.chinadressshop.cn');
define ('STATIC_HOST','clientapi.chinadressshop.cn');

define ('ROOT_PATH', 'E:\sites\chinamall\trunk\develop\clientapi');
define ('INCLUDE_PATH', ROOT_PATH . DS . 'include' . DS);
define ('HTDOCS_PATH', ROOT_PATH . DS . 'htdocs' . DS);
define ('STORAGE_PATH', ROOT_PATH . DS . 'storage' . DS);
define ('TEMPLATE_PATH', ROOT_PATH . DS . 'template' . DS);
define ('MULTILOG_PATH', ROOT_PATH . DS . 'multilog' . DS);
define ('TMPFILE_PATH', ROOT_PATH . DS . 'data' . DS . 'tmpfile' . DS);
define ('DATA_PATH', ROOT_PATH . DS . 'data' . DS);

define ('STATIC_ROOT_DIR', ROOT_PATH.DS);

//唯一性
//confidential
define ('SYS_CODE', 'abcdefghijklmnopqrstuvwxyz');

// 项目编码设置
define ('DB_CHARSET', 'UTF-8');
define ('SYS_CHARSET', 'UTF-8');

//分库分表数据库
define ('DB_HOST', '127.0.0.1');
define ('DB_USER', 'root');
define ('DB_PASS', '123456');
define ('DB_NAME', 'chinamall');
define ('DB_SPLIT_NUM', 32);

//为了改造集品
define ("PIC_NORMAL_WWW_HOST", "clientapi.chinadressshop.cn");
define ("PIC_LITE_WWW_HOST", "clientapi.chinadressshop.cn");
define ("LOG_HOST", "clientapi.chinadressshop.cn");
define ("APITU_HOST", "clientapi.chinadressshop.cn");
define ("KX_COMMON_HOST", "clientapi.chinadressshop.cn");
define ("PIC_WWW_HOST", "clientapi.chinadressshop.cn");

?>